<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="basePath" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html>
<head>
<title>设备能源管理系统(EMS)</title>
<meta charset="UTF-8" />
	<jsp:include page="../common/header.jsp"/>
	<script type="text/javascript" src="${basePath}/resources/js/moment.js"></script>
	<script type="text/javascript" src="${basePath}/resources/js/config/equipMoldConfig.js"></script>
</head>
<body class="easyui-layout">
<jsp:include page="../common/top.jsp"/>
<div class="layout-content" data-options="region:'center',border:false">
	<div class="easyui-layout togray mt15 layout-content4">
	    <div data-options="region:'center',title:'设备基本参数配置',split:true,collapsible:true,iconCls:'icon-p1'" >
	    	<div id="tb" style="margin:10px 0 0;">
				<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="obj.add();">添加</a>
				<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="obj.edit();">修改</a>
				<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" onclick="obj.deletes();">删除</a>
			</div>
			<table id="equipMold_data"></table>
	    </div>   
    </div>
</div>


<div id="addMoldWin">
	<form id="addMoldform" method="post" >
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">设备类型：</label>
	        <div class="col-pd-8"><input name="equType" class="textbox easyui-validatebox" style="width:200px;" data-options="required:'true'" /></div> 
	    </div>
	 	<div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">设备型号：</label> 
	        <div class="col-pd-8"><input name="equFormat" class="textbox easyui-validatebox" style="width:200px;" data-options="required:'true'" /></div>
	    </div>
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">额定功率：</label> 
	        <div class="col-pd-8"><input name="ratedPower" class="easyui-numberbox easyui-validatebox" style="width:200px;" data-options="required:'true',precision:2" /></div>
	    </div>
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">生产厂家：</label> 
	        <div class="col-pd-8"><input name="supplier" class="textbox easyui-validatebox" style="width:200px;" data-options="required:'true'" /></div>
	    </div>
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">使用寿命：</label> 
	        <div class="col-pd-8"><input name="life" class="textbox easyui-validatebox" style="width:200px;" data-options="required:'true'" /></div>
	    </div>
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">备注：</label> 
	        <div class="col-pd-8"><input name="remark" class="textbox easyui-validatebox" style="width:200px;"  /></div>
	    </div>
	</form>
</div>


<div id="editMoldWin">
	<form id="editMoldform" method="post" >
		<input type="hidden" name="id" id='id'/>
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">设备类型：</label>
	        <div class="col-pd-8"><input name="equType" class="textbox easyui-validatebox" style="width:200px;" data-options="required:'true'" /></div> 
	    </div>
	 	<div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">设备型号：</label> 
	        <div class="col-pd-8"><input name="equFormat" class="textbox easyui-validatebox" style="width:200px;" data-options="required:'true'" /></div>
	    </div>
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">额定功率：</label> 
	        <div class="col-pd-8"><input name="ratedPower" class="easyui-numberbox easyui-validatebox" style="width:200px;" data-options="required:'true',precision:2" /></div>
	    </div>
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">生产厂家：</label> 
	        <div class="col-pd-8"><input name="supplier" class="textbox easyui-validatebox" style="width:200px;" data-options="required:'true'" /></div>
	    </div>
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">使用寿命：</label> 
	        <div class="col-pd-8"><input name="life" class="textbox easyui-validatebox" style="width:200px;" data-options="required:'true'" /></div>
	    </div>
	    <div class="col-pd-12 form-item"> 
	        <label class="col-pd-3">备注：</label> 
	        <div class="col-pd-8"><input name="remark" class="textbox easyui-validatebox" style="width:200px;"  /></div>
	    </div>
	</form>
</div>
</body>
</html>